
<?php
for($i=1;$i<=9;$i++){
     echo "<div style='float:left; margin-left:20px;'>";
    for($j=9;$j>=$i;$j--){
        echo '<div style="width:10px;height:auto; word-wrap:break-word;">'.$j."x".$i."=".$j*$i.",</div>";
    }
    echo "</div>";
}?>

<input type="button" disabled="disabled"  value="aaa" />